QADrawBitmap
You can use theQADrawBitmap
function to draw bitmaps into a draw context.
#define QADrawBitmap(drawContext,v,bitmap) \ (drawContext)->drawBitmap (drawContext,v,bitmap)
drawContext
- A draw context.
v
- A Gouraud vertex.
bitmap
- A pointer to a bitmap (returned by a previous call to
QABitmapNew
).DESCRIPTION
TheQADrawBitmap
function draws the bitmap specified by thebitmap
parameter into the draw context specified by thedrawContext
parameter, with the upper-left corner of the bitmap located at the point specified by thev
parameter. Thev
parameter can contain negative values in itsx
ory
fields, so you can position upper-left corner of the bitmap outside the draw context rectangle. This allows you to move the bitmap smoothly off any edge of the draw context.